import java.util.Scanner;

public class IncomeTax {
    public static void main(String[] args) {
        Scanner input = new Scanner(System.in);
        System.out.print("请输入员工的姓名：");
        String name = input.next();
        System.out.print("请输入基本工资：");
        double salary = input.nextDouble();
        System.out.print("请输入加班补贴：");
        double subsidy = input.nextDouble();
        Emploudd zhangHai = new Emploudd();
        zhangHai.name = name;
        zhangHai.salary = salary;
        zhangHai.subsidy = subsidy;
        double money = zhangHai.calcincomeTax();
        System.out.println("实发工资:" + money);


    }

}
